<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
    xmlns:p="http://primefaces.org/ui"
   xmlns:f="http://xmlns.jcp.org/jsf/core"
    xmlns:h="http://xmlns.jcp.org/jsf/html"
    >
<h:head>
    <title>IGNORED</title>
</h:head>
<h:body>
    <ui:composition>

            <div id="logo"><a href="/AJIecommerce"><h:graphicImage value="/resources/design/aji-commerce-logo.png" width="200" height="150" /></a> 
            
            </div><h1>BACK OFFICE</h1>
            
            <div id="deconnection" style="float: right;">
            <h:form>
            <p:outputPanel rendered="#{loginBackOfficeBean.isConnect()}" >
            <p:outputLabel value="Bienvenue #{loginBackOfficeBean.login}"/><br/>
            <p:commandButton value="Deconnection" action="#{loginBackOfficeBean.logout}"/>
            </p:outputPanel>
            </h:form>
            </div>
            

    </ui:composition>
</h:body>
</html>
        